<volist name="agentgoods" id="agentgoods" key="k" >
    <a href="{:U('Good/goodsdetail', array('id'=>$agentgoods['id']))}">
        <li>
            <div class="image-img"><img src="{$agentgoods['thumb']}" /></div>
            <div class="text-text">
                <p class="text-tit">
                    {$agentgoods['g_name']|mb_substr=0,8,'utf-8'}...
                </p>
                <p class="text-price">
                    <span>￥</span>{$agentgoods['price']}
                </p>
                <p class="text-volume">
                    销量<span>{$agentgoods['sale_num']}</span>笔
                </p>
                <a class="shopping-cart cart" href="javascript:;" good_id="{$agentgoods['id']}" brand_id="{$agentgoods['brand_id']}" g_name="{$agentgoods['g_name']}" img="{$agentgoods['img']}"></a>
            </div>
        </li>
    </a>
</volist>